def start_wals(path):  
    with open(f'{path}.cache/wal/colors', 'r') as file:
        lines = file.readlines()
 
        bg1 = lines[1].strip()
        bg2 = lines[2].strip()
        black = lines[5].strip()
        gr = bg1
    with open(f'{path}.config/hypr/waybar-config/style.css', 'r+') as filew:
        lines = filew.readlines()
        lines[0] = f'@define-color bg {bg1};\n'
        filew.seek(0)
        filew.writelines(lines)
    with open(f'{path}.config/hypr/wofi/wofi.css', 'r+') as filew:
        lines = filew.readlines()
        lines[0] = f'@define-color bg {gr};\n'
        lines[1] = f'@define-color black {black};\n'
        lines[2] = f'@define-color gr {bg2};\n'    
        filew.seek(0)
        filew.writelines(lines)

    with open(f'{path}.config/dunst/dunstrc', 'w') as filee:
        rghh = f'[global]\ncorner_radius=25\nfont=Monospace 17\nframe_color = "{bg2}"\nseparator_color= frame\n[urgency_low]\nbackground = "{bg1}"\nforeground = "#cdd6f4"\n[urgency_normal]\nbackground = "{bg1}"\nforeground = "#cdd6f4"\n[urgency_critical]\nbackground = "{bg1}"\nforeground = "#cdd6f4"\nframe_color = "{bg2}"\n[play_sound]\nsummary = "*"\nscript = {path}.config/dunst/alert' 
        filee.write(rghh)
